home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
util
/
batch
/
Mousek.readme
< prev
next >
Wrap
Text File
|
1995-07-02
|
2KB
|
55 lines
Short: Return code is mouse button status
Author: M.C.Askin@e-eng.hull.ac.uk
Uploader: M.C.Askin@e-eng.hull.ac.uk
Type: util/batch
Mousek 1.1 (7/5/94) ©1994 Michael Askin
---------------------------------------
This simple program simply sets the return code depending on the status of
the mouse buttons...
0 - No mouse buttons pressed
1 - Left mouse button pressed
2 - Right mouse button pressed
3 - Both mouse buttons pressed
What you do with it after then is up to you. In my startup sequence, first
line I have :
mousek
if $rc eq 1
quit
endif
This will stop the Startup-sequence from executing further if the left
button was pressed when mousek was run.
There is no output, no args, only a version string, and was written in
AmigaE. This makes the executable pretty small.
Have fun with it,
Mike - M.C.Askin@electronic-engineering@hull.ac.uk (till Aug '96)
or Snail Mail:
54 York Rd, Greenwood Ave, Hull, E.Yorks, England. HU6 9RA.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
628 263 58.1% 04-Oct-94 16:46:22 MouseK.info
636 492 22.6% 04-Oct-94 16:45:22 +mousek
821 471 42.6% 04-Oct-94 16:45:22 +mousek.doc
4008 997 75.1% 04-Oct-94 16:46:18 +mousek.doc.info
343 206 39.9% 04-Oct-94 16:45:22 +mousek.e
4008 994 75.1% 04-Oct-94 16:46:16 +mousek.e.info
-------- ------- ----- --------- --------
10444 3423 67.2% 24-Jun-95 20:59:36 6 files